package org.wanho.rent.entity;

import java.io.Serializable;

public class SysUser implements Serializable{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 8746419344011373165L;

	private Integer id;
	
	private String userName;
	
	private String loginName;
	
	private String loginPassWord;

	public SysUser() {
		super();
	}

	public SysUser(String loginName, String loginPassWord) {
		super();
		this.loginName = loginName;
		this.loginPassWord = loginPassWord;
	}

	public SysUser(Integer id, String userName, String loginName,
			String loginPassWord) {
		super();
		this.id = id;
		this.userName = userName;
		this.loginName = loginName;
		this.loginPassWord = loginPassWord;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPassWord() {
		return loginPassWord;
	}

	public void setLoginPassWord(String loginPassWord) {
		this.loginPassWord = loginPassWord;
	}

	@Override
	public String toString() {
		return "SysUser [id=" + id + ", userName=" + userName + ", loginName="
				+ loginName + ", loginPassWord=" + loginPassWord + "]";
	}

	

}
